
<template>
  <el-button type="info" v-on:click="getmsg">信息按钮</el-button>
  <h4>{{msg}}</h4>
</template>

<script>
export default {
  name: "testclick",
  methods: {
    getmsg(){
      this.axios.get("api/test").then((response) => {
        console.log('test',response.data)
        this.msg = response.data
      })
    }

  },
  data() {
    return {
      msg: "66"
    }
  }
}
</script>

<style>

</style>
